package com.woniu.gf.pawn.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.gf.pawn.comm.core.domain.Product;
import com.woniu.gf.pawn.comm.core.domain.ProductProperty;
import com.woniu.gf.pawn.comm.core.domain.ProductPropertyValue;
import com.woniu.gf.pawn.product.parma.FindProductBigTypePageParam;
import com.woniu.gf.pawn.product.parma.ShowProductPropertyParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Lucas
 * @since 2020-10-15
 */
public interface IProductPropertyService extends IService<ProductProperty> {

    /**
     * 新增
     * @param productProperty
     * @param productPropertyValueList
     */
    void addProductProperty(ProductProperty productProperty,List<ProductPropertyValue> productPropertyValueList);

    /**
     * 分页查询
     */
    IPage<ShowProductPropertyParam> selectPageVo(FindProductBigTypePageParam findProductBigTypePageParam);

    /**
     * 删除属性
     */
    void deleteProductProperty(List<Integer> ids);
}
